﻿/*
 * Created by SharpDevelop.
 * User: IEscarro
 * Date: 9/8/2009
 * Time: 9:54 AM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */

using System;
using Buaya.Util;
using Buaya.Reports;
using Buaya.Gui;
using Buaya.Model;

namespace Buaya.Commands
{
	public class ShowEmployeeListReport : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.AddChild(new ReportForm(new EmployeeListReport(), SessionFacade.FindAllEmployeesDS()), "Employee List Report");
		}
	}
	
	public class ShowDepartmentListReport : AbstractCommand
	{
		public override void Run()
		{
			MainForm.Instance.AddChild(new ReportForm(new DepartmentListReport(), SessionFacade.FindAllDepartmentsDS()), "Department List Report");
		}
	}
}
